package com.gjs.user.pojo.dto.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.gjs.common.enums.entity.StatusEnum;
import com.gjs.common.enums.entity.UserOriginEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("用户后台列表对象")
@NoArgsConstructor
public class UserManagementVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    private Long id;

    @ApiModelProperty("登录账号")
    private String userAccount;

    @ApiModelProperty("用户唯一序列号")
    private String userSn;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("用户来源")
    @TableField("origin")
    private UserOriginEnum origin;

    @ApiModelProperty("状态")
    @TableField("status")
    private StatusEnum status;

    @ApiModelProperty("创建时间戳")
    private LocalDateTime createTime;
}
